The "backwards" parameter needs to be dropped here as well.
this._select(1);
},
- _keyPressHandler: function(keysym, backwards, action) {
+ _keyPressHandler: function(keysym, action) {
if (action == Meta.KeyBindingAction.SWITCH_WINDOWS) {
- this._select(backwards ? this._previous() : this._next());
+ this._select(this._next());
} else if (action == Meta.KeyBindingAction.SWITCH_WINDOWS_BACKWARD) {
this._select(this._previous());
} else {
return mod(this._selectedIndex - 1, this._items.length);
},
- _keyPressHandler: function(keysym, backwards, action) {
+ _keyPressHandler: function(keysym, action) {
throw new Error('Not implemented');
},